define THREADS
endef 

include ../Makefile.shared

define PROJ_idspn
  SOURCES = idspn.ml
  RESULT = idspn
endef

export PROJ_idspn

# If the environment does not define subprojects to handle,
# then set a default
ifndef SUBPROJS
  export SUBPROJS = idspn
endif

export LIBS= unix ext str data expat mn bn circuit lbfgs spn

# Default target to use
all: nc
	cp $(SUBPROJS) $(BINDIR)

# Catch-all target will be applied to all subprojects automatically
%:
	@$(MAKE) -f $(OCAMLMAKEFILE) subprojs SUBTARGET=$@
